#ifndef _EXIT_CONFIRM_POPUP_H_
#define _EXIT_CONFIRM_POPUP_H_

#include "cocos2d.h"
USING_NS_CC;

class ExitConfirmPopup : public cocos2d::CCLayer
{
private:
	CCSize screenSize;

public:
	static bool isShowing;

    virtual bool init();
	void initBackgroundPopup();
	void initButton(CCSprite* bgPopup);
	void initContent(char* content, CCSprite* bgPopup);
	void initAnimationPopup(CCSprite* bgPopup);
	void exitClickListener(CCObject* pSender);
	void cancelClickListener(CCObject* pSender);	
    
    CREATE_FUNC(ExitConfirmPopup);
};

#endif
